package com.hummer.system.mapper.ext;


import com.hummer.common.core.domain.request.chart.ChartData;
import com.hummer.common.core.domain.request.dashboard.DashboardTarget;
import com.hummer.common.core.dto.HistoryScanDTO;

import java.util.List;
import java.util.Map;

/**
 * @author harris
 */
public interface ExtVulnMapper {

    List<ChartData> overall(Map<String, Object> params);

    List<ChartData> ruleGroup(Map<String, Object> params);

    List<ChartData> report(Map<String, Object> params);

    List<ChartData> ruleList(Map<String, Object> params);

    List<ChartData> accountList(Map<String, Object> params);

    List<ChartData> k8sVulnList(Map<String, Object> params);

    List<ChartData> k8sConfigList(Map<String, Object> params);

    List<ChartData> k8sKubenchList(Map<String, Object> params);

    List<ChartData> k8sRuleList(Map<String, Object> params);

    List<Map<String, Object>> riskList(Map<String, Object> params);

    List<Map<String, Object>> k8sScanRiskChart(Map<String, Object> params);

    List<ChartData> regionsList(Map<String, Object> params);

    List<ChartData> countList(Map<String, Object> params);

    List<Map<String, Object>> severityList(Map<String, Object> params);

    List<Map<String, Object>> totalPolicy(Map<String, Object> params);

    List<DashboardTarget> target(Map<String, Object> params);

    List<HistoryScanDTO> history(Map<String, Object> params);

    List<Map<String, Object>> groupList(Map<String, Object> params);

    List<Map<String, Object>> reportList(Map<String, Object> params);

    List<Map<String, Object>> tagList(Map<String, Object> params);

    List<Map<String, Object>> resourceList(Map<String, Object> params);

    List<Map<String, Object>> historyList(Map<String, Object> params);

    List<Map<String, Object>> historyDiffList(Map<String, Object> params);

}
